package cn.edu.ncut.cs.springboot.petmanagementsystem.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.math.BigDecimal;

/**
 * 修改宠物信息表
 */
@Data
public class PetInformationVo {
    @TableId(type = IdType.AUTO)
    private Long id;

    @JsonProperty("name")
    private String petName;

    @JsonProperty("categoryId")
    private Long categoryId;

    @JsonProperty("categoryName")
    private String categoryName;

    private String breed;

    private Integer age;

    @JsonProperty("gender")
    private String genderText;

    private BigDecimal price;

    @JsonProperty("originalPrice")
    private BigDecimal originalPrice;

    @JsonProperty("image")
    private String imageUrl;

    @JsonProperty("mainImage")
    private String mainImage;

    private String images;

    private String description;

    @JsonProperty("healthStatus")
    private String healthStatusText;

    @JsonProperty("vaccinationStatus")
    private String vaccinationStatusText;

    @JsonProperty("sterilizationStatus")
    private String sterilizationStatusText;

    @JsonProperty("status")
    private String petStatusText;

    @JsonProperty("petStatus")
    private Integer petStatus;

    @JsonProperty("ownerId")
    private Long ownerId;

    @JsonProperty("employeeId")
    private Long employeeId;

    @JsonProperty("viewCount")
    private Integer viewCount;

    @JsonProperty("likeCount")
    private Integer likeCount;

    @JsonProperty("createTime")
    private java.time.LocalDateTime createTime;

    @JsonProperty("updateTime")
    private java.time.LocalDateTime updateTime;
}
